package com.ericsson.enap.modules.replay.service.impl;

import com.ericsson.enap.modules.replay.entity.EpcReplayTestProject;
import com.ericsson.enap.modules.replay.mapper.EpcReplayTestProjectMapper;
import com.ericsson.enap.modules.replay.service.IEpcReplayTestProjectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 测试项目Service业务层处理
 *
 * @author wangjingshi
 * @date 2020-09-13
 */
@Service
public class EpcReplayTestProjectServiceImpl implements IEpcReplayTestProjectService
{
    @Resource
    private EpcReplayTestProjectMapper epcReplayTestProjectMapper;

    /**
     * 查询测试项目
     *
     * @param id 测试项目ID
     * @return 测试项目
     */
    @Override
    public EpcReplayTestProject selectEpcReplayTestProjectById(Long id)
    {
        return epcReplayTestProjectMapper.selectEpcReplayTestProjectById(id);
    }

    /**
     * 查询测试项目列表
     *
     * @param epcReplayTestProject 测试项目
     * @return 测试项目
     */
    @Override
    public List<EpcReplayTestProject> selectEpcReplayTestProjectList(EpcReplayTestProject epcReplayTestProject)
    {
        return epcReplayTestProjectMapper.selectEpcReplayTestProjectList(epcReplayTestProject);
    }


}
